import request from '@/utils/request'

// 查询博客友情链接列表
export function listConfig() {
  return request({
    url: '/blog/config/list',
    method: 'get',
  })
}

export function saveConfig(params) {
  return request({
    url: '/blog/config',
    method: 'put',
    data: params
  })
}